/* 版心 */
.main{
    width: 1210px;
    margin: 0px auto;
}
/* 版心 */
@import "loginArea.scss";
@import "footer.scss";
body{
    overflow-x: hidden;
    background-color: #F7F4F8;
}
.banner{
    position: relative;
}
.swiper-container {
    width: 100%;
    top: 0px;
    height: 480px;
}  
// 导航
.nav{
    background-color: #fff;
    .main{
        font-size: 16px;
        .navMain{
            display: inline-block;
            background-color: #D52C27;
            height: 40px;
            width: 208px;
            line-height: 40px;
            color: #FFFFFF;
            span{
                color: #FBEDED;
                padding: 0px 15px;
            }
        }
        >span{
            &:nth-of-type(1){
                color: #F3573E;
            }
            &:nth-of-type(2){
                color: #F3573E;
            }
            padding: 0px 14px;
            cursor: pointer;
        }
    }
}
// 导航
// 大图
.banner{
    position: relative;
    img{
        // position: absolute;
        // top: 0px;
        // height: 480px;
    }
    .main{
        position: relative;
        top: 0;
        .bigNav{
            position: relative;
            float: left;
            height: 480px;
            width: 208px;
            background-color: #FEECED;
            z-index: 90;
            p{
                font-weight: bold;
                color: #323232;
                padding: 10px 0 10px 5px;
                span{
                    cursor: pointer;
                    &:hover{
                        color: #E20000;;
                    }
                }
            }
            ul{
                width: 206px;
                color: #666666;
                display: inline-block;
                padding-bottom: 5px;
                border: 2px solid transparent;
                z-index: 90;
                // box-sizing: border-box;
                &:hover{
                    border: 2px solid #E4393C;
                    border-right: 2px solid white;
                }
                li{
                    float: left;
                    padding: 0px 7px;
                    a{
                        cursor: pointer;
                        color: #666666;
                        &:hover{
                            color: #E20000;
                            text-decoration-line: underline;
                        }
                    }
                }
                span{
                    float: left;
                }
            }
        }
        .typeClass{
            position: absolute;
            left: 208px;
            border: 2px solid #E4393C;
            z-index: 10;
            padding: 13px 32px;
            width: 834px;
            min-height: 480px;
            box-sizing: border-box;
            background-color: #fff;
            font-size: 13px;
            div{
                overflow: hidden;
                i{
                    float: left;
                    width: 116px;
                    line-height: 48px;
                }
                b{
                    float: left;
                    font-weight: normal;
                    line-height: 48px;
                    margin-right: 15px;
                }
                p{
                    float: left;
                    width: 618px;
                    border-bottom: 1px dashed #DAD8D9;
                    span{
                        display: inline-block;
                        padding-right: 5px;
                        height: 48px;
                        line-height: 48px;
                        color: #D4D4D4;
                        a{
                            color: #666;
                            &:hover{
                                color: #E20000;
                                text-decoration-line: underline;
                            }
                        }
                        
                    }
                }
            }
        }
    }
}
// 大图

// 展示
.show5to1{
    margin-top: 21px;
    margin-bottom: 32px;
    .main{
        .showShow{
            width: 360px;
            h3{
                font-size: 28px;
            }
            background: url(../imgs/mod-product-promotion-list-bg.png) no-repeat center;
            background-size: cover;
            img{
                position: absolute;
                right: 40px;
            }
            p{
                display: inline-block;
            }
        }
        div{
            cursor: pointer;
            float: left;
            width: 162px;
            height: 224px;
            padding: 15px 20px;
            text-align: center;
            background-color: #fff;
            box-shadow: -5px 0 16px #eee;
            position: relative;
            transition: all 0.5s linear;
            p{
                display: none;
                padding: 5px 15px;
                font-size: 16px;
                font-weight: bold;
                color: #FF3A34;
                border: 1px solid #FF3A34;
                border-radius: 21px;
                position: absolute;
                left: 60px;
                top: 150px;
            }
            img{
                width: 120px;
                height: 120px;
            }
            h4{
                font-size: 14px;
                color: #666;
                height: 20px;
                line-height: 20px;
                text-align: left;
                margin-left: 12px;
                margin-bottom: 20px;
            }
            h3{
                font-size: 20px;
                font-weight: bold;
                text-align: left;
                margin-top: 17px;
                margin-left: 12px;
                transition: all 0.5s linear;
            }
            &:nth-of-type(1){
                h3{
                    color: #D52C27;
                }
            }
            &:nth-of-type(2){
                h3{
                    color: #993DEE;
                }
            }
            &:nth-of-type(3){
                h3{
                    color: #5FB02E
                }
            }
            &:nth-of-type(4){
                h3{
                    color:#F3573E
                }
            }
            &:nth-of-type(5){
                h3{
                    color: #2A85EF
                }
            }
        }
    }
}
// 展示

// 秒杀
.seckill{
    .main{
        background-color: #fff;
        height: 600px;
        .seckill-Time{
            float: left;
            width: 187px;
            height: 222px;
            padding: 29px 24px;
            background: url(../imgs/home-seckill-timer-bg.png) no-repeat center;
            background-size: cover;
            h3{
                font-size: 28px;
                font-weight: bold;
                text-align: left;
                color: #fff;
            }
            h4{
                font-size: 14px;
                color: #FFBCBC;;
                height: 20px;
                line-height: 20px;
                text-align: left;
                margin-bottom: 54px;
            }
            p:nth-of-type(1){
                font-size: 16px;
                color: #fff;
                margin-bottom: 15px;
            }
            p:nth-of-type(2){
                font-size: 22px;
                color: #fff;
                font-weight: bold;
                margin-bottom: 14px;
                span{
                    display: inline-block;
                    width: 38px;
                    height: 38px;
                    background: rgba(86,20,26,1);
                    border-radius: 4px;
                    color: #fff;
                    font-size: 22px;
                    font-weight: bold;
                    text-align: center;
                    line-height: 38px;
                }
            }
            a{
                color: #FFBCBC;
                font-size: 14px;
            }
        }
        .seckill-main{
            width: 228px;
            height: 280px;
            float: left;
            text-align: center;
            cursor: pointer;
            border: 1px solid #fff;
            margin: 0 6px 15px;
            &:hover{
                border: 1px solid #E4393C;
                p{
                    color: #E20000;
                }
            }
            img{
                width: 146px;
                height: 146px;
                margin-top: 24px;
            }
            p{
                font-size: 14px;
                color: rgba(102,102,102,1);
                margin: 11px 0 17px;
                height: 22px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                line-height: 21px;
            }
            .sec-price{
                width: 200px;
                height: 36px;
                margin: 0 auto;
                border: 1px solid #E4393C;
                line-height: 36px;
                .seckill-p{
                    width: 60%;
                    height: 36px;
                    float: left;
                    background: #E4393C;
                    font-size: 14px;
                    font-weight: bold;
                    color: #fff;
                }
                .seckill-n{
                    width: 40%;
                    height: 36px;
                    float: left;
                    color: #888;
                    font-size: 12px;
                    font-weight: 400;
                    line-height: 36px;
                    text-decoration: line-through;
                }
            }
        }
    }
}
// 秒杀


// 每日精选
.daydaysel{
    .main{
        .daydaytab{
            position: relative;
            height: 80px;
            border-bottom: 1px solid #E2E2E2;
            overflow: hidden;
            .daydayfont{
                position: absolute;
                span{
                    color: #333;
                    font-size: 24px;
                    font-weight: bold;
                    line-height: 80px;
                }
                img{
                    margin: 30px 0px 0px 10px;
                }
            }
            ul{
                margin: 20px auto 0px;
                width: 600px;
                height: 60px;
                line-height: 60px;
                li{
                    float: left;
                    box-sizing: border-box;
                    width: 100px;
                    height: 60px;
                    font-size: 15px;
                    z-index: 1;
                    position: relative;
                    margin: 0;
                    padding: 0 10px;
                    overflow: hidden;
                    text-align: center;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    a{
                        color: #000;
                    }
                }
                .dayLi{
                    border-bottom: 2px solid #E4393C;
                    a{
                        color: #E4393C;
                        font-weight: bold;
                    }
                }
            }
        }
        .daytabs{
            padding: 20px 0;
            text-align: center;
            a{
                font-size: 14px;
                display: inline-block;
                padding: 0 15px;
                height: 14px;
                overflow: hidden;
                white-space: nowrap;
                text-align: center;
                line-height: 14px;
                border-right: 1px solid #e8e8e8;
                color: #666;
                &:nth-last-of-type(1){
                    border-right: none;
                }
                &:hover{
                    color: #dc0014;
                }
            }
        }
        .daytabs-main-box{
            box-sizing: border-box;
            width: 20%;
            float: left;
            position: relative;
            min-height: 1px;
            padding-right: 7.5px;
            padding-left: 7.5px;
            margin-bottom: 15px;
            text-align: center;
            .daytabs-main{
                box-sizing: border-box;
                background: #fff;
                border: 1px solid transparent;
                padding: 24px;
                height: 300px;
                &:hover{
                    border: 1px solid #E4393C;
                    opacity: 0.8;
                }
                a{
                    cursor: pointer;
                    img{
                        width: 146px;
                        height: 146px;
                        overflow: hidden;
                        margin: 0 auto;
                    }
                }
                .bookname{
                    margin: 20px 0 5px;
                    color: #333;
                    height: 16px;
                    line-height: 16px;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    font-size: 14px;
                    cursor: pointer;
                    &:hover{
                        color: #E20000;
                    }
                }
                .author{
                    margin-bottom: 26px;
                    height: 16px;
                    line-height: 16px;
                    color: #999;
                    font-size: 12px;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                }
                .daytabs-price{
                    text-align: left;
                    .daytabs-p{
                        font-size: 14px;
                        font-weight: bold;
                        color: #E4393C;
                    }
                    .daytabs-n{
                        float: right;
                        font-size: 12px;
                        color: #888;
                        text-decoration: line-through;
                    }
                }
            }
        }
    }
}
// 每日精选

// 回到顶部
.totop{
    position: fixed;
    top: 80%;
    right: 15%;
    display: none;
}
// 回到顶部